from random import*
a=[]
for i in range(10):
    a.append(randit(0,100))
for j in range(10):
    print(a[j],end='')
print()
print(min(a))
a.sort()
print(a)
a.reverse()
print(a)

from random import*
a = [randint(0,100) for i in range(10)]
print()
print(min(a))
a.sort()
print(a)
a.reverse()
print(a)